google.golang.org/protobuf/internal/encoding/text.Token.attrs (field)
25 uses
google.golang.org/protobuf/internal/encoding/text (current package)
decode.go#L398: tok.attrs |= hasSeparator
decode.go#L491: attrs: uint8(TypeName),
decode.go#L593: attrs: attrs,
decode_number.go#L25: attrs: numberValue,
decode_string.go#L42: attrs: stringValue,
decode_token.go#L115: attrs uint8
decode_token.go#L151: return NameKind(t.attrs &^ hasSeparator)
decode_token.go#L160: return t.attrs&hasSeparator != 0
decode_token.go#L167: if t.kind == Name && t.attrs&uint8(IdentName) != 0 {
decode_token.go#L170: panic(fmt.Sprintf("Token is not an IdentName: %s:%s", t.kind, NameKind(t.attrs&^hasSeparator)))
decode_token.go#L175: if t.kind == Name && t.attrs&uint8(TypeName) != 0 {
decode_token.go#L178: panic(fmt.Sprintf("Token is not a TypeName: %s:%s", t.kind, NameKind(t.attrs&^hasSeparator)))
decode_token.go#L185: if t.kind != Name || t.attrs&uint8(FieldNumber) == 0 {
decode_token.go#L186: panic(fmt.Sprintf("Token is not a FieldNumber: %s:%s", t.kind, NameKind(t.attrs&^hasSeparator)))
decode_token.go#L196: if t.kind != Scalar || t.attrs != stringValue {
decode_token.go#L204: if t.kind != Scalar || t.attrs != literalValue || (len(t.raw) > 0 && t.raw[0] == '-') {
decode_token.go#L215: switch t.attrs {
decode_token.go#L248: if t.kind != Scalar || t.attrs != numberValue ||
decode_token.go#L261: if t.kind != Scalar || t.attrs != numberValue ||
decode_token.go#L274: if t.kind != Scalar || t.attrs != numberValue || t.numAttrs&numFloat > 0 {
decode_token.go#L292: if t.kind != Scalar || t.attrs != numberValue || t.numAttrs&numFloat > 0 {
decode_token.go#L313: switch t.attrs {
decode_token.go#L336: switch t.attrs {
decode_token.go#L368: x.attrs == y.attrs &&